﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
//该源码下载自www.51aspx.com(５１aｓｐｘ．ｃｏｍ)

public partial class _Default : System.Web.UI.Page 
{

    public static string GetMenu;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Role"] != null)
        {
            if (Session["Role"].ToString() == "管理员" && Session["flag"] != null)
            {
                GetMenu = "left1.htm";
            }
            if (Session["Role"].ToString() == "普通用户" && Session["flag"] != null)
            {
                GetMenu = "left2.htm";
            }
        }
    }
}
